/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Controlador;

import Dao.ClienteDAO;
import Dto.ClienteDTO;
import Modelo.Conexion;
import java.time.Instant;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

/**
 *
 * @author -ADMIN-
 */
public class simuladorFecha {
    
    public static void main(String[]args){
        
        
        /*forma de traer de insertar la fecha en java */
        // new java.sql.Date(fecha.getDate())
        
        
        
//        Date fecha = Date.from(Instant.now());
//        int cdto = ClienteDAO.registroCliente(new  ClienteDTO(266, "julio", "dfdgfhg", "erety", new java.sql.Date(fecha.getDate()), "4as3", 234354, "sdfgg", "ertyfd") );
//        System.out.println("--"+cdto);
        
        
        
       //  boolean rpta = ClienteDAO.updateDatosCliente(new ClienteDTO(23 , "nombressssssssssssss", "apesdfghjk1" ,  "ape2", new Date() ,"diree" , 435467, "email.com") );
        
        // System.out.println("-- "+ rpta); 
       
    }
    
    
}
